<?php echo $this->render('header.phtml'); ?>
<label class="title">Member control</label>
<div class="horiz_sep">&nbsp;</div>
<table width="100%" cellpadding="0" cellspacing="5">
  	<tr>
    	<th>Ngày</th>
    	<th>Giao dịch</th>
    	<th>Số tiền</th>
  	</tr>
  	<? $history = $this->history; ?>
  	<?php foreach ($history as $his){ ?>
  	<tr>
  		<td>
  			<?= $this->utilities->formatdate($his->his_time); ?>
  		</td>
  		<td>
  			<?= $his->his_action; ?>
  		</td>
  		<td>
  			<?= $his->his_amount; ?>
  		</td>
  	</tr>  	
  	<? } ?>
</table>
<?php echo $this->render('footer.phtml');?> 